﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="EditCityDesc.aspx.cs" Inherits="NJL.WebManage.Citys.EditCityDesc" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <script src="../Scripts/jquery-1.4.1.js" type="text/javascript"></script>
    <script type="text/javascript">
        var f = function () {
            var txtDesc = document.getElementById("txtDesc").value;
            txtDesc = $.trim(txtDesc);
            if (txtDesc = "") {
                alert("请输入内容");
                return false;
            }
            if (txtDesc.length > 500) {
                alert("您输入的字符数不能超过500");
                return false;
            }
        }
    
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div class="gray_bd">
        <div class="table_title">
            景点管理-添加景点</div>
        <div class="pad5px">
            <table align="center" cellspacing="0" style="width: 100%">
                <tr>
                    <td style="width: 120px; text-align: right;">
                        景点介绍：
                    </td>
                    <td>
                        <asp:TextBox ID="txtDesc" runat="server" TextMode="MultiLine" Height="100px"
                            Width="100%"></asp:TextBox>
  
                    </td>
                    <td>
                        &nbsp;
                    </td>
                </tr>
                <tr>
                    <td>
                        &nbsp;
                    </td>
                    <td>
                        <asp:Button ID="btnSubmit" runat="server" OnClick="btnSubmit_Click" Style="height: 21px"
                            Text="提交" Width="40px" OnClientClick="return f()" />
                        &nbsp;<input id="Reset1" type="reset" value="返回" onclick="location.href='ManageCity.aspx'" />
                    </td>
                    <td>
                        &nbsp;
                    </td>
                </tr>
            </table>
        </div>
    </div>
    </form>
</body>
</html>
